<?php
/**
 * @author qingyu8@staff.weibo.com
 * @date 2018/03/11
 */
namespace common\logic;

class SupplyStatus {
    const UNSET = 0;//未设置
    const ORDER = 1;//下单至供应商
    const CONFIRMED = 2;//供应商确认
    const CONFIRM_FAIL = 3;//确认失败/异常
    const REMITTANCE_RECEIVED = 4;//已收汇
    const REMITTANCE_RETURNING = 5;//退汇中
    const REMITTANCE_RETURNED = 6;//已退汇
    const CANCEL = 7;
    const TEXT = [
        self::UNSET => '未设置',
        self::ORDER => '下单至供应商',
        self::CONFIRMED => '供应商确认',
        self::CONFIRM_FAIL => '确认失败/异常',
        self::REMITTANCE_RECEIVED => '已收汇',
        self::REMITTANCE_RETURNING => '退汇中',
        self::REMITTANCE_RETURNED => '已退汇',
        self::CANCEL => '订单取消',
    ];
}
